#ifndef __ELASTIC_IN_OUT__
#define __ELASTIC_IN_OUT__

#include "cocos2d.h"

USING_NS_CC;



class ElasticInOutLayer : public Layer
{
public:
	CREATE_FUNC(ElasticInOutLayer);
	virtual bool init();	
public: 
	void fadeIn(Ref* pSender);
	void fadeOut(Ref* pSender);
private:
	Sprite* spr1;
	Sprite* spr2;
	Sprite* spr3;
	DelayTime* delayTime;
//	MoveBy* move;
//	MoveBy* move_back;
};

#endif // !__ELASTIC_IN_OUT__
